package com.netease.financial.base.lockpattern;

import android.content.Context;

/**
 * Created by hzwuyufeng on 1/12/16.
 */
public class LockPatternModule {

    private static LockPatternUtils mLockPatternUtils;

    private static Context sContext;

    public static void init(Context context) {
        sContext = context.getApplicationContext();
    }

    public static LockPatternUtils getLockPatternUtils() {
        if (mLockPatternUtils == null) {
            mLockPatternUtils = new LockPatternUtils(sContext);
        }
        return mLockPatternUtils;
    }

}
